/**
 * 
 */
package com.hfjyz.examination.command;

import java.io.Serializable;

import com.hfjyz.examination.domain.Admin;
import com.hfjyz.examination.domain.AdminRoles;
import com.hfjyz.examination.domain.Roles;

/**
 * 
 */
public class AdminRolesCommand implements Serializable {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -4784427893612262644L;
	private AdminRoles adminRoles;

	/**
	 * @param adminRoles
	 */
	public AdminRolesCommand() {
		this.adminRoles = new AdminRoles();
	}

	/**
	 * @param adminRoles
	 */
	public AdminRolesCommand(AdminRoles adminRoles) {
		this.adminRoles = adminRoles;
	}

	/**
	 * @return the adminRoles
	 */
	public AdminRoles getAdminRoles() {
		return adminRoles;
	}

	/**
	 * @param adminRoles
	 *            the adminRoles to set
	 */
	public void setAdminRoles(AdminRoles adminRoles) {
		this.adminRoles = adminRoles;
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.AdminRoles#getId()
	 */
	public Long getId() {
		return adminRoles.getId();
	}

	/**
	 * @param id
	 * @see com.hfjyz.examination.domain.AdminRoles#setId(java.lang.Long)
	 */
	public void setId(Long id) {
		adminRoles.setId(id);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.AdminRoles#getRoles()
	 */
	public Roles getRoles() {
		return adminRoles.getRoles();
	}

	/**
	 * @param roles
	 * @see com.hfjyz.examination.domain.AdminRoles#setRoles(com.hfjyz.examination.domain.Roles)
	 */
	public void setRoles(Roles roles) {
		adminRoles.setRoles(roles);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.AdminRoles#getAdmin()
	 */
	public Admin getAdmin() {
		return adminRoles.getAdmin();
	}

	/**
	 * @param admin
	 * @see com.hfjyz.examination.domain.AdminRoles#setAdmin(com.hfjyz.examination.domain.Admin)
	 */
	public void setAdmin(Admin admin) {
		adminRoles.setAdmin(admin);
	}
}
